<template>
  <div class="OptionalStock">
    <div class="Optional">
      <!-- 列表 -->
      <div class="tabList">
        <el-tabs v-model="activeName" class="tabs">
          <el-tab-pane name="vanilla" label="香草">
            <vanilla></vanilla>
          </el-tab-pane>
          <el-tab-pane name="snowball" label="雪球"></el-tab-pane>
          <el-tab-pane name="purchase" label="累购"></el-tab-pane>
          <el-tab-pane name="IndexVanilla" label="指数香草"></el-tab-pane>
          <el-tab-pane name="DirectionGivers" label="指数雪球"></el-tab-pane>
        </el-tabs>
      </div>
    </div>
  </div>
</template>
  
  <script>
import vanilla from "@/components/case/vanilla.vue";

export default {
  name: "OptionalStock",
  components: {
    vanilla
  },
  data() {
    return {
      activeName: "vanilla"
    };
  },
  mounted() {},
  methods: {}
};
</script>
  
  <style lang="less" scoped>
.OptionalStock {
  width: 100%;
  height: 100%;
}
// 头部
.Optional {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 10px;
  .Optional-top {
    font-size: 20px;
    color: #1e2024;
    line-height: 24px;
    display: flex;
    justify-items: flex-start;
    padding-top: 10px;
    margin: 0px;
  }
  // 列表
  .tabList {
    width: 100%;
    height: 100%;
    .tabs {
      width: 100%;
      height: 100%;
      .el-tab-pane {
        width: 100%;
        height: 100%;
      }
    }
  }
}
</style>
  <style scoped>
.tabs >>> .el-tabs__content {
  padding: 0 16px 16px 27px;
  height: calc(100% - 70px);
}
.tabs >>> .el-tabs__header {
  margin-bottom: 0;
  border-radius: 10px 10px 0 0;
  padding-left: 27px;
  background: #f7f7f7;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  height: 70px;
}
/deep/ .el-tabs__nav-wrap::after {
  height: 0;
}
/deep/ .el-tabs__active-bar {
  background-color: #000;
}
.tabs >>> .el-tabs__item.is-active {
  color: #000;
}

.tabs >>> .el-tabs__item {
  color: #999999;
  height: 70px;
  line-height: 70px;
  font-size: 16px;
  text-align: center;
}
.tabs .btn .img {
  margin-top: 4px;
  position: absolute;
}
.tabs .btn .btn-spa {
  margin-left: 15px;
}

.el-table >>> tr {
  color: #1e2024;
}
</style>
  